import("System.IO.Ports")
import("DeviceControl")
import("NModbus4", "Modbus.Device")
import("ServoDrivesLib", "ServoDrivesLib.Device")
import("System.Runtime", "System.IO")
import("Jodell.Lua","Jodell.Lua")

LocalVariableTable ={}

function GetLocals()
  local i = 1
  LocalVariableTable = {}
  collectgarbage("collect")
  while true do
    local name, value = debug.getlocal(2, i)
    if not name then break end

    LocalVariableTable[name]=value
    i = i + 1
  end
end

return 0